package kr.co.dongpang.android;
import android.util.Log;


public class LogUtil {
	final static String TAG = "dongpang";

	public static void d(String msg) {
		msg += " >> line: " + new Throwable().getStackTrace()[1].getLineNumber() + " >> file: " + new Throwable().getStackTrace()[1].getFileName();
		Log.d(TAG, msg);
	}
	
	public static void d(String tag, String msg) {
		msg += " >> line: " + new Throwable().getStackTrace()[1].getLineNumber() + " >> file: " + new Throwable().getStackTrace()[1].getFileName();
		Log.d(tag, msg);
	}
}
